#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "V3516A.h"
#include "send_searchIp.h"
#include <pthread.h>

#include "TsCaster.h"
//���п�ʼ��ʱ����һ�������źų�ȥ
 

 int main( int argc, char **argv )
{ 
	tscaster_init();
	
	init_VideoParam();
	StartVideoEnc() ;

	SAMPLE_AUDIO_AiAenc(); // 先调速视频
	UDP_THREAD();
 
	while (true)
	{
	   usleep( 800 );
	}
	
	tscaster_quit();
	
	return 0 ;
 }
